#pragma once

#include <gl/glew.h>

namespace Textures
{

extern float lod_bias;		// Represents value from -5 to 5 that is bound to middle mouse button and then used to set mipmap lod bias

extern GLuint	
		tex_light_cookie,	// spot light image
		tex_light_att,		// distance attenuation texture
		tex_wood,			// floor texture  - procedurally generated
		tex_carpet,			// carpet texture
		tex_poster,			// poster texture - "lautrec_divan.jpg"
		tex_bricks,			// bricks texture - "brick_wall.jpg"
		tex_perlin,			// noise texture  - "perlin.jpg"
		tex_smoke,			// smoke puff texture - "smoke.PNG"
		tex_smokecolors,	// smoke color texture - "smokecolors.PNG"
		tex_reflect,		// viewport copy of reflected scene
		tex_screen;			// viewport copy

void empty_texture(GLuint &tex, int w, int h);
void load_texture(GLuint &tex, const char *filename);

void make_wood();

void init();
void done();

}

